Cody Russell [Sat, 9 Aug 2008 04:20:14 +0000 (04:20 +0000)]
gtk/gtkmenushell.c In enter/leave notify events, check that the crossing
2008-08-08 Cody Russell <bratsche@gnome.org>
* gtk/gtkmenushell.c
* gtk/gtkmenu.c: In enter/leave notify events, check that the crossing
mode is not GTK_GRAB, GTK_UNGRAB, or STATE_CHANGED. Fixes regressions
in menus caused by bug #56070.
svn path=/trunk/; revision=21049
Sven Herzberg [Fri, 8 Aug 2008 22:22:26 +0000 (22:22 +0000)]
Get the gdk+cairo test to pass distcheck, too
2008-08-09 Sven Herzberg <sven@imendio.com>
Get the gdk+cairo test to pass distcheck, too
* gdk/tests/Makefile.am: set GDK_PIXBUF_MODULE_FILE so the test can
pick up the one created at build time
* gdk/tests/check-gdk-cairo.c (main): delete the output files after a
successful test run
svn path=/trunk/; revision=21048
Sven Herzberg [Fri, 8 Aug 2008 15:30:22 +0000 (15:30 +0000)]
Bug 546549 : Better Type Checking reviewed by: mitch
2008-08-08 Sven Herzberg <sven@imendio.com>
Bug 546549 : Better Type Checking
reviewed by: mitch
* gdk-pixbuf-animation.c: check if a vfunc is implemented before
trying to call into it
svn path=/trunk/; revision=21047
Sven Neumann [Fri, 8 Aug 2008 14:36:41 +0000 (14:36 +0000)]
gtk/gtkscale.c gtk/gtkscrolledwindow.c gtk/gtksocket.c gtk/gtkspinbutton.c
2008-08-08 Sven Neumann <sven@gimp.org>
* gtk/gtkscale.c
* gtk/gtkscrolledwindow.c
* gtk/gtksocket.c
* gtk/gtkspinbutton.c
* gtk/gtkstatusbar.c
* gtk/gtkstatusicon.c: use canonical signal names.
svn path=/trunk/; revision=21046
Sven Neumann [Fri, 8 Aug 2008 14:23:32 +0000 (14:23 +0000)]
gtk/gtktext.c gtk/gtktextbuffer.c gtk/gtktextlayout.c
2008-08-08 Sven Neumann <sven@gimp.org>
* gtk/gtktext.c
* gtk/gtktextbuffer.c
* gtk/gtktextlayout.c
* gtk/gtktexttagtable.c
* gtk/gtktextview.c
* gtk/gtktipsquery.c
* gtk/gtktoolbar.c
* gtk/gtktoolitem.c
* gtk/gtktreeitem.c
* gtk/gtktreemodelfilter.c
* gtk/gtktreemodelsort.c
* gtk/gtktreeviewcolumn.c: use canonical signal names.
svn path=/trunk/; revision=21045
Sven Neumann [Fri, 8 Aug 2008 13:58:42 +0000 (13:58 +0000)]
some more signals I missed in my last commit
svn path=/trunk/; revision=21044
Sven Neumann [Fri, 8 Aug 2008 13:53:05 +0000 (13:53 +0000)]
gtk/gtktree.c gtk/gtktreemodel.c gtk/gtktreesortable.c gtk/gtktreeview.c
2008-08-08 Sven Neumann <sven@gimp.org>
* gtk/gtktree.c
* gtk/gtktreemodel.c
* gtk/gtktreesortable.c
* gtk/gtktreeview.c
* gtk/gtkuimanager.c
* gtk/gtkviewport.c: use canonical signal names.
svn path=/trunk/; revision=21043
Sven Neumann [Fri, 8 Aug 2008 13:44:46 +0000 (13:44 +0000)]
use canonical signal names.
2008-08-08 Sven Neumann <sven@gimp.org>
* gtk/gtkwidget.c:
* gtk/gtkwindow.c: use canonical signal names.
svn path=/trunk/; revision=21042
Sven Neumann [Fri, 8 Aug 2008 13:25:18 +0000 (13:25 +0000)]
gtk/gtkadjustment.c gtk/gtkclist.c gtk/gtkcolorsel.c gtk/gtkiconview.c
2008-08-08 Sven Neumann <sven@gimp.org>
* gtk/gtkadjustment.c
* gtk/gtkclist.c
* gtk/gtkcolorsel.c
* gtk/gtkiconview.c
* gtk/gtklayout.c
* gtk/gtkprogress.c
* gtk/gtkrange.c
* gtk/gtkspinbutton.c
* gtk/gtktext.c
* gtk/gtktextview.c
* gtk/gtktreeview.c
* gtk/gtkviewport.c: use the canonical signal name
"value-changed"
instead of "value_changed".
svn path=/trunk/; revision=21041
Tor Lillqvist [Fri, 8 Aug 2008 03:49:18 +0000 (03:49 +0000)]
gtk/gtk.symbols gtk/makegtkalias.pl gtk/gtkaccelmap.c gtk/gtkfilechooser.c
2008-08-08 Tor Lillqvist <tml@novell.com>
* gtk/gtk.symbols
* gtk/makegtkalias.pl
* gtk/gtkaccelmap.c
* gtk/gtkfilechooser.c
* gtk/gtkfilesel.c
* gtk/gtkiconfactory.c
* gtk/gtkicontheme.c
* gtk/gtkimage.c
* gtk/gtkrc.c
* gtk/gtkuimanager.c
* gtk/gtkwindow.c: No need for the DLL ABI backward compatibility
functions on Win64.
svn path=/trunk/; revision=21040
Jorge Gonzalez Gonzalez [Thu, 7 Aug 2008 16:35:20 +0000 (16:35 +0000)]
Updated Spanish translation
svn path=/trunk/; revision=21039
Matthias Clasen [Thu, 7 Aug 2008 14:44:59 +0000 (14:44 +0000)]
Fix the mime sniffing test
svn path=/trunk/; revision=21038
16:19:16 Tim Janik [Thu, 7 Aug 2008 14:23:07 +0000 (14:23 +0000)]
use g_error() instead of a combination of g_warning+exit to avoid
2008-08-07 16:19:16 Tim Janik <timj@imendio.com>
* gdk/gdkrgb.c (gdk_rgb_select_conv): use g_error() instead of a
combination of g_warning+exit to avoid misleading the user.
svn path=/trunk/; revision=21037
Michael Natterer [Thu, 7 Aug 2008 14:21:47 +0000 (14:21 +0000)]
gtk/gtkactiongroup.c gtk/gtkcellrendererspin.c gtk/gtkfilechooserbutton.c
2008-08-07 Michael Natterer <mitch@imendio.com>
* gtk/gtkactiongroup.c
* gtk/gtkcellrendererspin.c
* gtk/gtkfilechooserbutton.c
* gtk/gtktoolitem.c: chain up unconditionally in finalize().
svn path=/trunk/; revision=21036
Michael Natterer [Thu, 7 Aug 2008 14:12:32 +0000 (14:12 +0000)]
gtk/gtkclist.c gtk/gtkcontainer.c gtk/gtkfilechooserbutton.c
2008-08-07 Michael Natterer <mitch@imendio.com>
* gtk/gtkclist.c
* gtk/gtkcontainer.c
* gtk/gtkfilechooserbutton.c
* gtk/gtkgamma.c
* gtk/gtkmenutoolbutton.c
* gtk/gtkoptionmenu.c
* gtk/gtkradiobutton.c
* gtk/gtkradiomenuitem.c
* gtk/gtktipsquery.c
* gtk/gtktree.c
* gtk/gtktreeview.c: chain up unconditionally in destroy().
* gtk/gtkhandlebox.c: remove empty destroy() implementation.
svn path=/trunk/; revision=21035
Michael Natterer [Thu, 7 Aug 2008 13:44:22 +0000 (13:44 +0000)]
Bug 546756 – gnome-panel crashed with SIGSEGV in
2008-08-07 Michael Natterer <mitch@imendio.com>
Bug 546756 – gnome-panel crashed with SIGSEGV in
g_type_check_instance_cast()
* gtk/gtkimagemenuitem.c: add GtkObject::destroy() implementation
and remove the image now that it's an internal child and isn't
destroyed by gtk_container_destroy() any longer. Thanks to tml for
helping bisecting this down.
svn path=/trunk/; revision=21034
Ignacio Casal Quinteiro [Thu, 7 Aug 2008 13:28:10 +0000 (13:28 +0000)]
Updated Galician translation
svn path=/trunk/; revision=21033
Sven Neumann [Thu, 7 Aug 2008 11:37:57 +0000 (11:37 +0000)]
Bug 546771 - Add writable property "visited" to GtkLinkButton
2008-08-07 Sven Neumann <sven@gimp.org>
Bug 546771 - Add writable property "visited" to GtkLinkButton
* gtk/gtk.symbols
* gtk/gtklinkbutton.[ch]: expose the 'visited' state as a
read-write property with getters and setters. Also move the nick
and blurb of the "uri" property to the proper translation
domain.
svn path=/trunk/; revision=21032
Michael Natterer [Thu, 7 Aug 2008 10:07:49 +0000 (10:07 +0000)]
move variables to local scopes, fix indentation and silence bogus warning
2008-08-07 Michael Natterer <mitch@imendio.com>
* gtk/gtkicontheme.c (apply_emblems): move variables to local
scopes, fix indentation and silence bogus warning about using
uninitialized variables.
svn path=/trunk/; revision=21031
Richard Hult [Thu, 7 Aug 2008 08:18:32 +0000 (08:18 +0000)]
Bug 535573 – Deadlock in gdkeventloop-quartz.c:poll_func()
2008-08-07 Richard Hult <richard@imendio.com>
Bug 535573 – Deadlock in gdkeventloop-quartz.c:poll_func()
* gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
(select_thread_func), (poll_func): Patch by Yevgen Muntyan, fixes
deadlock and missing events.
svn path=/trunk/; revision=21030
Richard Hult [Thu, 7 Aug 2008 08:14:12 +0000 (08:14 +0000)]
Implement those, fixes loading python bindings.
2008-08-07 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkscreen-quartz.c: (gdk_screen_get_monitor_plug_name)
(gdk_screen_get_monitor_height_mm, gdk_screen_get_monitor_width_mm):
Implement those, fixes loading python bindings.
svn path=/trunk/; revision=21029
Emmanuele Bassi [Thu, 7 Aug 2008 00:54:01 +0000 (00:54 +0000)]
Bug 545031 – list of recently used files is created world-readable
2008-08-07 Emmanuele Bassi <ebassi@gnome.org>
Bug 545031 – list of recently used files is created world-readable
* gtk/gtkrecentmanager.c:
(gtk_recent_manager_real_changed): Set the recently-used.xbel
file to 0600. (Guido Berhoerster)
svn path=/trunk/; revision=21028
Ignacio Casal Quinteiro [Wed, 6 Aug 2008 19:37:42 +0000 (19:37 +0000)]
Updated Galician translation
svn path=/trunk/; revision=21027
Ignacio Casal Quinteiro [Wed, 6 Aug 2008 19:36:33 +0000 (19:36 +0000)]
Updated Galician translation
svn path=/trunk/; revision=21026
Sven Herzberg [Wed, 6 Aug 2008 16:15:31 +0000 (16:15 +0000)]
Bug 546549 : Better Type Checking reviewed by mitch
2008-08-06 Sven Herzberg <sven@imendio.com>
Bug 546549 : Better Type Checking
reviewed by mitch
* gdk-pixbuf.c (gdk_pixbuf_copy), (gdk_pixbuf_get_colorspace),
(gdk_pixbuf_get_n_channels), (gdk_pixbuf_get_has_alpha),
(gdk_pixbuf_get_bits_per_sample), (gdk_pixbuf_get_pixels),
(gdk_pixbuf_get_width), (gdk_pixbuf_get_height),
(gdk_pixbuf_get_rowstride): use GDK_IS_PIXBUF() and not pixbuf != NULL
in g_return_*() statements
svn path=/trunk/; revision=21025
Takeshi AIHANA [Wed, 6 Aug 2008 15:07:37 +0000 (15:07 +0000)]
Updated Japanese translation.
2008-08-06 Takeshi AIHANA <takeshi.aihana@gmail.com>
* ja.po: Updated Japanese translation.
svn path=/trunk/; revision=21024
Takeshi AIHANA [Wed, 6 Aug 2008 15:06:42 +0000 (15:06 +0000)]
Updated Japanese translation.
2008-08-06 Takeshi AIHANA <takeshi.aihana@gmail.com>
* ja.po: Updated Japanese translation.
svn path=/trunk/; revision=21023
Michael Natterer [Wed, 6 Aug 2008 11:59:35 +0000 (11:59 +0000)]
remove return value, this function returns void.
2008-08-06 Michael Natterer <mitch@imendio.com>
* modules/printbackends/cups/gtkcupsutils.c
(gtk_cups_connection_test_free): remove return value, this
function returns void.
svn path=/trunk/; revision=21022
Michael Natterer [Wed, 6 Aug 2008 11:32:33 +0000 (11:32 +0000)]
gtk/gtkcombobox.c gtk/gtkiconview.c gtk/gtkrange.c gtk/gtkscrolledwindow.c
2008-08-06 Michael Natterer <mitch@imendio.com>
* gtk/gtkcombobox.c
* gtk/gtkiconview.c
* gtk/gtkrange.c
* gtk/gtkscrolledwindow.c
* gtk/gtktreeview.c: remove CLAMPing from values passed to
gtk_adjustment_set_value() since it does it right now.
svn path=/trunk/; revision=21021
Daniel Nylander [Wed, 6 Aug 2008 09:01:46 +0000 (09:01 +0000)]
sv.po: Updated Swedish translation
svn path=/trunk/; revision=21020
Djihed Afifi [Wed, 6 Aug 2008 08:31:45 +0000 (08:31 +0000)]
Updated Arabic Translation by Khaled Hosny.
svn path=/trunk/; revision=21019
Jorge Gonzalez Gonzalez [Tue, 5 Aug 2008 22:20:43 +0000 (22:20 +0000)]
Updated Spanish translation
svn path=/trunk/; revision=21018
Matthias Clasen [Tue, 5 Aug 2008 18:27:06 +0000 (18:27 +0000)]
Bump version
svn path=/trunk/; revision=21017
Matthias Clasen [Tue, 5 Aug 2008 18:20:35 +0000 (18:20 +0000)]
2.13.6
svn path=/trunk/; revision=21015
Michael Natterer [Tue, 5 Aug 2008 15:44:04 +0000 (15:44 +0000)]
bail out early if priv->button is NULL to avoid zillions of warnings when
2008-08-05 Michael Natterer <mitch@imendio.com>
* gtk/gtkcombobox.c (gtk_combo_box_update_sensitivity): bail out
early if priv->button is NULL to avoid zillions of warnings when
destroying combo boxes that were working fine before the
button sensitivity patch.
svn path=/trunk/; revision=21014
Michael Natterer [Tue, 5 Aug 2008 14:46:26 +0000 (14:46 +0000)]
Bug 544858 – Seal GtkAdjustment
2008-08-05 Michael Natterer <mitch@imendio.com>
Bug 544858 – Seal GtkAdjustment
* gtk/gtk.symbols
* gtk/gtkadjustment.[ch] (struct GtkAdjustment): seal all struct
members.
Add accessors for all properties and additionally a new function
gtk_adjustment_configure() which sets all properties at
once. Patch by Christian Dywan and myself.
svn path=/trunk/; revision=21013
Michael Natterer [Tue, 5 Aug 2008 14:25:29 +0000 (14:25 +0000)]
clamp the value to [lower...upper-page_size] instead of only
2008-08-05 Michael Natterer <mitch@imendio.com>
* gtk/gtkadjustment.c (gtk_adjustment_set_value): clamp the value
to [lower...upper-page_size] instead of only [lower...upper].
* README: add note about this change.
While this fix is correct and should have been there forever, it
has the potential to break some corner cases, however these cases
would set page_size to a value != 0 which suggests they want it
honored.
svn path=/trunk/; revision=21012
Ignacio Casal Quinteiro [Tue, 5 Aug 2008 13:13:46 +0000 (13:13 +0000)]
Updated Galician translation
svn path=/trunk/; revision=21011
Michael Natterer [Tue, 5 Aug 2008 12:30:15 +0000 (12:30 +0000)]
don't use the deprecated gtk_box_pack_start_defaults().
2008-08-05 Michael Natterer <mitch@imendio.com>
* tests/testiconview.c: don't use the deprecated
gtk_box_pack_start_defaults().
svn path=/trunk/; revision=21010
Chao-Hsiung Liao [Tue, 5 Aug 2008 12:26:04 +0000 (12:26 +0000)]
2.13.6
svn path=/trunk/; revision=21009
Yair Hershkovitz [Tue, 5 Aug 2008 08:28:09 +0000 (08:28 +0000)]
updated hebrew translation
svn path=/trunk/; revision=21008
Daniel Nylander [Tue, 5 Aug 2008 08:02:45 +0000 (08:02 +0000)]
sv.po: Updated Swedish translation
svn path=/trunk/; revision=21007
Daniel Nylander [Tue, 5 Aug 2008 07:56:47 +0000 (07:56 +0000)]
sv.po: Updated Swedish translation
svn path=/trunk/; revision=21006
Matthias Clasen [Tue, 5 Aug 2008 00:21:49 +0000 (00:21 +0000)]
Add some missing braces
svn path=/trunk/; revision=21005
Tor Lillqvist [Tue, 5 Aug 2008 00:17:42 +0000 (00:17 +0000)]
Trivialities.
svn path=/trunk/; revision=21004
Tor Lillqvist [Mon, 4 Aug 2008 23:55:40 +0000 (23:55 +0000)]
Cast pointer to gintptr instead of gulong to avoid warning on Win64.
2008-08-05 Tor Lillqvist <tml@novell.com>
* gtk/gtktext.c: Cast pointer to gintptr instead of gulong to
avoid warning on Win64.
svn path=/trunk/; revision=21003
Tor Lillqvist [Mon, 4 Aug 2008 23:51:16 +0000 (23:51 +0000)]
Cast tile, stipple and clip_mask pointers to gintptr when calculating
2008-08-05 Tor Lillqvist <tml@novell.com>
* gtk/gtkgc.c: Cast tile, stipple and clip_mask pointers to
gintptr when calculating hash, so we get all of the pointer bits
on Win64 where long is 32 bits.
svn path=/trunk/; revision=21002
Tor Lillqvist [Mon, 4 Aug 2008 23:49:15 +0000 (23:49 +0000)]
Don't need to declare IPrintDialogCallback with mingw64 either. It seems
2008-08-05 Tor Lillqvist <tml@novell.com>
* gtk/gtkprintoperation-win32.c: Don't need to declare
IPrintDialogCallback with mingw64 either. It seems to come with
newer versions of the headers.
svn path=/trunk/; revision=21001
Tor Lillqvist [Mon, 4 Aug 2008 23:44:59 +0000 (23:44 +0000)]
Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
2008-08-05 Tor Lillqvist <tml@novell.com>
Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
* gtk/gtksocket-win32.c: Don't cast HWND to guint, pass it as such
as the GdkNativeWindow parameter to
gtk_window_remove_embedded_xid(). Debugging printout format fixes.
* gtk/gtkwin32embed.h
* gtk/gtkwin32embed.c: Change the types of wparam and lparam
parameters to actually be WPARAM and LPARAM.
* gtk/gtkplug-win32.c: Adapt accordingly.
svn path=/trunk/; revision=21000
Matthias Clasen [Mon, 4 Aug 2008 23:41:52 +0000 (23:41 +0000)]
Forgotten file
svn path=/trunk/; revision=20999
Matthias Clasen [Mon, 4 Aug 2008 23:41:19 +0000 (23:41 +0000)]
Forgotten commit
svn path=/trunk/; revision=20998
Matthias Clasen [Mon, 4 Aug 2008 23:40:36 +0000 (23:40 +0000)]
Bug 382291 – Automatically dim the combobox when the model is empty
2008-08-04 Matthias Clasen <mclasen@redhat.com>
Bug 382291 – Automatically dim the combobox when the model is empty
* gtk/gtk.symbols:
* gtkcombobox.[hc]: Add a GtkComboBox::button-sensitivity
property with getter and setter to control the sensitity of
empty combo boxes. Patch by Carlos Garnacho, Sven Herzberg,
Christian Dywan and others.
* README.in: Add a note about automatic combobox sensitivity.
svn path=/trunk/; revision=20997
Tor Lillqvist [Mon, 4 Aug 2008 23:38:06 +0000 (23:38 +0000)]
Enclose ?: expression with parens so cast covers all of it.
2008-08-05 Tor Lillqvist <tml@novell.com>
* gtk/updateiconcache.c (write_bucket): Enclose ?: expression
with parens so cast covers all of it.
svn path=/trunk/; revision=20996
Matthias Clasen [Mon, 4 Aug 2008 23:36:17 +0000 (23:36 +0000)]
Improve a string
svn path=/trunk/; revision=20995
Tor Lillqvist [Mon, 4 Aug 2008 23:21:36 +0000 (23:21 +0000)]
Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
2008-08-05 Tor Lillqvist <tml@novell.com>
Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
* gdk/win32/gdkcursor-win32.c
* gdk/win32/xcursors.h: Change some gchar* to guchar* and vice
versa to avoid gcc 4.4 signedness warnings.
* gdk/win32/gdkevents-win32.c: Add some guchar and char pointer
casts to get rid of gcc 4.4 signedness warnings. Print GdkAtom
values in debugging output using the %p format.
* gdk/win32/gdkkeys-win32.c
* gdk/win32/gdkfont-win32.c
* gdk/win32/gdkmain-win32.c: Add some casts to avoid gcc warnings.
* gdk/win32/gdkwindow-win32.c: Use SetWindowLongPtr() instead of
SetWindowLong().
* gdk/win32/gdkwin32id.c (gdk_handle_hash): Use all 64 bits of a
HANDLE on Win64.
svn path=/trunk/; revision=20994
Tor Lillqvist [Mon, 4 Aug 2008 23:01:32 +0000 (23:01 +0000)]
Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
2008-08-05 Tor Lillqvist <tml@novell.com>
Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
* gdk/win32/gdkproperty-win32.c
* gdk/win32/gdkselection-win32.c: Add some guchar and char pointer
casts to get rid of gcc 4.4 warnings. Print GdkAtom values in
debugging output using the %p format.
svn path=/trunk/; revision=20993
Tor Lillqvist [Mon, 4 Aug 2008 22:57:36 +0000 (22:57 +0000)]
Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
2008-08-05 Tor Lillqvist <tml@novell.com>
Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
* gtk/gtkwindow.h
* gtk/gtkwindow.c: Change the type of the xid parameter of the
internal gtk_window_remove_embedded_xid() and
gtk_window_add_embedded_xid() functions from guint to
GdkNativeWindow.
* gtk/gtkwindow.c (send_client_message_to_embedded_windows):
Instead of GPOINTER_TO_UINT(), just cast the gpointer to
GdkNativeWindow. GPOINTER_TO_UINT() drops the upper 32 bits on
Win64.
svn path=/trunk/; revision=20992
Tor Lillqvist [Mon, 4 Aug 2008 22:43:57 +0000 (22:43 +0000)]
Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
2008-08-05 Tor Lillqvist <tml@novell.com>
Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
* gdk/gdkselection.h
* gdk/gdkselection.c
* gdk/win32/gdkselection-win32.c
* gdk/x11/gdkselection-x11.c: Change type of the requestor
window id parameter of gdk_selection_send_notify_for_display()
and gdk_selection_send_notify() from guint32 to
GdkNativeWindow.
* gdk/win32/gdkselection-win32.c: Add some guchar and char pointer
casts to get rid of gcc 4.4 warnings. Print GdkAtom values in
debugging output using the %p format.
svn path=/trunk/; revision=20991
Matthias Clasen [Mon, 4 Aug 2008 22:38:56 +0000 (22:38 +0000)]
Fix make check
svn path=/trunk/; revision=20990
Tor Lillqvist [Mon, 4 Aug 2008 22:36:53 +0000 (22:36 +0000)]
Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
2008-08-05 Tor Lillqvist <tml@novell.com>
Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
* gdk/gdkdnd.h
* gdk/gdkdnd.c
* gdk/win32/gdkdnd-win32.c
* gdk/x11/gdkdnd-x11.c: Change return value and type of window id
from guint32 to GdkNativeWindow for
gdk_drag_get_protocol_for_display() and
gdk_drag_get_protocol(). This is not an API break on existing
platforms, as GdkNativeWindow has been guint32 for them
already.
svn path=/trunk/; revision=20989
Tor Lillqvist [Mon, 4 Aug 2008 22:35:16 +0000 (22:35 +0000)]
Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
2008-08-05 Tor Lillqvist <tml@novell.com>
Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
* gdk/gdkdnd.h
* gdk/gdkdnd.c
* gdk/win32/gdkdnd-win32.c
* gdk/x11/gdkdnd-x11.c: Change return value and type of window id
from guint32 to GdkNativeWindow for
gdk_drag_get_protocol_for_display() and
gdk_drag_get_protocol(). This is not an API break on existing
platforms, as GdkNativeWindow has been guint32 for them
already.
svn path=/trunk/; revision=20988
Tor Lillqvist [Mon, 4 Aug 2008 22:26:26 +0000 (22:26 +0000)]
Cast pointers to guintptr, not unsigned long, before doing bit tests on
2008-08-05 Tor Lillqvist <tml@novell.com>
* gdk/gdkrgb.c: Cast pointers to guintptr, not unsigned long,
before doing bit tests on them.
svn path=/trunk/; revision=20987
Tor Lillqvist [Mon, 4 Aug 2008 22:20:53 +0000 (22:20 +0000)]
Define GDK_NATIVE_WINDOW_POINTER on 32-bit Windows, too. It just makes
2008-08-05 Tor Lillqvist <tml@novell.com>
* configure.in: Define GDK_NATIVE_WINDOW_POINTER on 32-bit
Windows, too. It just makes more sense, as a HWND *is* a kind of
pointer.
* gdk/gdkconfig.h.win32: Ditto here.
svn path=/trunk/; revision=20986
Björn Lindqvist [Mon, 4 Aug 2008 21:37:02 +0000 (21:37 +0000)]
Bug 534979 – GtkImageMenuItem is a bin but has two children.
2008-08-04 Björn Lindqvist <bjourne@gmail.com>
Bug 534979 – GtkImageMenuItem is a bin but has two children.
* gtk/gtkimagemenuitem.c (gtk_image_menu_item_forall): Do not
include the image widget when iterating over non-internal
children. Patch by rainwoodman.
svn path=/trunk/; revision=20985
Matthias Clasen [Mon, 4 Aug 2008 18:41:28 +0000 (18:41 +0000)]
Updates
svn path=/trunk/; revision=20984
Matthias Clasen [Mon, 4 Aug 2008 18:24:14 +0000 (18:24 +0000)]
Bump glib dependency
svn path=/trunk/; revision=20983
Michael Natterer [Mon, 4 Aug 2008 17:59:43 +0000 (17:59 +0000)]
gtk/gtkclist.c gtk/gtkctree.c gtk/gtkpixmap.c get rid of using deprecated
2008-08-04 Michael Natterer <mitch@imendio.com>
* gtk/gtkclist.c
* gtk/gtkctree.c
* gtk/gtkpixmap.c
* gtk/gtkpreview.c: get rid of using deprecated GDK APIs.
* gtk/gtktext.c: ditto, apart from the text cruft APIs.
svn path=/trunk/; revision=20982
Michael Natterer [Mon, 4 Aug 2008 17:17:46 +0000 (17:17 +0000)]
call gdk_rgb_set_verbose(TRUE) if "gdkrgb" is in the debug flags.
2008-08-04 Michael Natterer <mitch@imendio.com>
* gdk/gdk.c (gdk_parse_args): call gdk_rgb_set_verbose(TRUE) if
"gdkrgb" is in the debug flags.
* gdk/gdkrgb.c (gdk_rgb_init): remove setting the verbose flag
here, this function is deprecated and the debug flag didn't work
when using GDK properly.
svn path=/trunk/; revision=20981
Matthias Clasen [Mon, 4 Aug 2008 16:36:28 +0000 (16:36 +0000)]
Update to handle GEmblem`
svn path=/trunk/; revision=20980
Michael Natterer [Mon, 4 Aug 2008 16:33:28 +0000 (16:33 +0000)]
undeprecate (apart from still using GtkOptionMenu).
2008-08-04 Michael Natterer <mitch@imendio.com>
* tests/prop-editor.c: undeprecate (apart from still using
GtkOptionMenu).
svn path=/trunk/; revision=20979
Tor Lillqvist [Mon, 4 Aug 2008 16:28:42 +0000 (16:28 +0000)]
Fix syntax error.
2008-08-04 Tor Lillqvist <tml@novell.com>
* he.po: Fix syntax error.
svn path=/trunk/; revision=20978
Michael Natterer [Mon, 4 Aug 2008 16:12:23 +0000 (16:12 +0000)]
gtk/gtkseparatortoolitem.c remove pointless #undef GTK_DISABLE_DEPRECATED.
2008-08-04 Michael Natterer <mitch@imendio.com>
* gtk/gtkseparatortoolitem.c
* tests/testactions.c: remove pointless #undef GTK_DISABLE_DEPRECATED.
* gtk/gtkcalendar.c (calendar_set_display_option): use
gtk_calendar_set_display_options() instead of the deprecated
gtk_calendar_display_options().
svn path=/trunk/; revision=20977
Yair Hershkovitz [Mon, 4 Aug 2008 15:18:07 +0000 (15:18 +0000)]
updated hebrew translation
svn path=/trunk/; revision=20976
Carlos Garnacho [Mon, 4 Aug 2008 15:17:27 +0000 (15:17 +0000)]
Fix "/* within comment" warning.
2008-08-04 Carlos Garnacho <carlos@imendio.com>
* gtk/gtkfilechooserbutton.c: Fix "/* within comment" warning.
svn path=/trunk/; revision=20975
Changwoo Ryu [Mon, 4 Aug 2008 15:13:36 +0000 (15:13 +0000)]
Updated Korean translation
svn path=/trunk/; revision=20974
Carlos Garnacho [Mon, 4 Aug 2008 14:46:22 +0000 (14:46 +0000)]
Set drag window background to be the GtkNotebook background color. This is
2008-08-04 Carlos Garnacho <carlos@imendio.com>
* gtk/gtknotebook.c (gtk_notebook_expose): Set drag window background
to be the GtkNotebook background color. This is a workaround to
prevent black pixels in rounded tabs when reordering. Improves
#368234.
svn path=/trunk/; revision=20973
Carlos Garnacho [Mon, 4 Aug 2008 14:43:53 +0000 (14:43 +0000)]
Deprecate gtk_file_chooser_*_new_with_backend(), since GIO is already used
2008-08-04 Carlos Garnacho <carlos@imendio.com>
* gtk/gtk.symbols:
* gtk/gtkfilechooserbutton.[ch]:
* gtk/gtkfilechooserdefault.[ch]:
* gtk/gtkfilechooserdialog.[ch]:
* gtk/gtkfilechooserwidget.[ch]: Deprecate
gtk_file_chooser_*_new_with_backend(), since GIO is already used
directly. Fixes #545976.
svn path=/trunk/; revision=20972
Carlos Garnacho [Mon, 4 Aug 2008 14:43:05 +0000 (14:43 +0000)]
Make GFile-oriented API public. Fixes #545978.
2008-08-04 Carlos Garnacho <carlos@imendio.com>
* gtk/gtk.symbols:
* gtk/gtkfilechooser.[ch]: Make GFile-oriented API public. Fixes
#545978.
* gtk/gtkfilechooserbutton.c:
* gtk/gtkfilechooserdefault.c:
* gtk/gtkfilechooserutils.c: Update to use public GFile API.
svn path=/trunk/; revision=20971
Michael Natterer [Mon, 4 Aug 2008 14:38:35 +0000 (14:38 +0000)]
build with GTK_DISABLE_DEPRECATED again.
2008-08-04 Michael Natterer <mitch@imendio.com>
* gtk/Makefile.am: build with GTK_DISABLE_DEPRECATED again.
Fix pltcheck.sh by restricting the visibility of deprecated
symbols to the places where they are actually used:
* gtk/gtkclist.c
* gtk/gtkctree.c
* gtk/gtklistitem.c
* gtk/gtklist.c
* gtk/gtkprogressbar.c
* gtk/gtkpixmap.c
* gtk/gtkprogress.c: #undef GTK_DISABLE_DEPRECATED and #define
__GTK_FOO_C__ on top instead of before including gtkaliasdef.c.
* gtk/gtkclist.h
* gtk/gtkctree.h
* gtk/gtklistitem.h
* gtk/gtklist.h
* gtk/gtkpixmap.h
* gtk/gtkprogress.h: make the headers visible if the respective
__GTK_FOO_C__ are defined.
svn path=/trunk/; revision=20970
Michael Natterer [Mon, 4 Aug 2008 14:23:55 +0000 (14:23 +0000)]
gtk/gtkclist.c gtk/gtklist.c gtk/gtkoldeditable.c gtk/gtkpixmap.c
2008-08-04 Michael Natterer <mitch@imendio.com>
* gtk/gtkclist.c
* gtk/gtklist.c
* gtk/gtkoldeditable.c
* gtk/gtkpixmap.c
* gtk/gtktipsquery.c
* gtk/gtktree.c
* gtk/gtktreeitem.c: avoid using deprecated GtkWidget API.
svn path=/trunk/; revision=20969
Michael Natterer [Mon, 4 Aug 2008 14:13:56 +0000 (14:13 +0000)]
gtk/gtkclist.[ch] gtk/gtkctree.[ch] gtk/gtkitemfactory.[ch]
2008-08-04 Michael Natterer <mitch@imendio.com>
* gtk/gtkclist.[ch]
* gtk/gtkctree.[ch]
* gtk/gtkitemfactory.[ch]
* gtk/gtkobject.[ch]
* gtk/gtksignal.[ch]: s/GtkDestroyNotify/GDestroyNotify/g
svn path=/trunk/; revision=20967
Sven Neumann [Mon, 4 Aug 2008 14:13:12 +0000 (14:13 +0000)]
update the link color when the "visited" state is changed.
2008-08-04 Sven Neumann <sven@gimp.org>
* gtk/gtklinkbutton.c (gtk_link_button_set_uri): update the link
color when the "visited" state is changed.
svn path=/trunk/; revision=20966
Michael Natterer [Mon, 4 Aug 2008 13:52:56 +0000 (13:52 +0000)]
move the code of the deprecated gtk_window_set_policy() to a new private
2008-08-04 Michael Natterer <mitch@imendio.com>
* gtk/gtkwindow.c: move the code of the deprecated
gtk_window_set_policy() to a new private function
gtk_window_set_policy_internal() and call it from
gtk_window_set_policy().
(gtk_window_set_resizable): use the new internal function in order
to avoid our own deprecated public API.
svn path=/trunk/; revision=20965
Michael Natterer [Mon, 4 Aug 2008 11:08:33 +0000 (11:08 +0000)]
move the code of the deprecated gtk_binding_entry_clear() to a new private
2008-08-04 Michael Natterer <mitch@imendio.com>
* gtk/gtkbindings.c: move the code of the deprecated
gtk_binding_entry_clear() to a new private function
gtk_binding_entry_clear_internal() and call it from
gtk_binding_entry_clear().
(_gtk_binding_entry_add_signall)
(gtk_binding_parse_bind): use the new internal function in order
to avoid our own deprecated public API.
svn path=/trunk/; revision=20963
Michael Natterer [Mon, 4 Aug 2008 10:33:02 +0000 (10:33 +0000)]
avoid our own deprecated public API and use
2008-08-04 Michael Natterer <mitch@imendio.com>
* gtk/gtkfontsel.c (gtk_font_selection_dialog_get_font):
avoid our own deprecated public API and use
gtk_font_selection_get_font_internal() instead of
gtk_font_selection_get_font().
(gtk_font_selection_get_font)
(gtk_font_selection_dialog_get_font): Add missing
"Deprecated: 2.0" to the api doc comments.
svn path=/trunk/; revision=20962
Michael Natterer [Mon, 4 Aug 2008 10:20:16 +0000 (10:20 +0000)]
add the generated PNGs to CLEANFILES.
2008-08-04 Michael Natterer <mitch@imendio.com>
* gdk/tests/Makefile.am: add the generated PNGs to CLEANFILES.
svn path=/trunk/; revision=20961
Tor Lillqvist [Mon, 4 Aug 2008 09:05:51 +0000 (09:05 +0000)]
Small improvement.
svn path=/trunk/; revision=20960
Tor Lillqvist [Sun, 3 Aug 2008 23:48:48 +0000 (23:48 +0000)]
Pass appropriate -machine flag to lib.exe.
2008-08-04 Tor Lillqvist <tml@novell.com>
* libgail-util/Makefile.am: Pass appropriate -machine flag to
lib.exe.
svn path=/trunk/; revision=20959
Tor Lillqvist [Sun, 3 Aug 2008 23:47:52 +0000 (23:47 +0000)]
Pass appropriate -machine flag to lib.exe.
2008-08-04 Tor Lillqvist <tml@novell.com>
* Makefile.am: Pass appropriate -machine flag to lib.exe.
svn path=/trunk/; revision=20958
Tor Lillqvist [Sun, 3 Aug 2008 23:47:10 +0000 (23:47 +0000)]
Set LIB_EXE_MACHINE_FLAG to either X86 or X64 on Windows. AC_SUBST it.
2008-08-04 Tor Lillqvist <tml@novell.com>
* configure.in: Set LIB_EXE_MACHINE_FLAG to either X86 or X64 on
Windows. AC_SUBST it.
* gdk/Makefile.am
* gtk/Makefile.am: Pass appropriate -machine flag to lib.exe.
svn path=/trunk/; revision=20957
Tor Lillqvist [Sun, 3 Aug 2008 23:36:17 +0000 (23:36 +0000)]
Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
2008-08-04 Tor Lillqvist <tml@novell.com>
Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
* configure.in: On Win64, define GDK_NATIVE_WINDOW_POINTER.
* gdk/gdkconfig.h.win32: Ditto here.
svn path=/trunk/; revision=20956
Tor Lillqvist [Sun, 3 Aug 2008 23:16:31 +0000 (23:16 +0000)]
Fix typo in Win32 and Quartz code:
2008-08-04 Tor Lillqvist <tml@novell.com>
* gtk/gtkstatusicon.c: Fix typo in Win32 and Quartz code:
s/gtk_icon_icon_info_load_icon/gtk_icon_info_load_icon/ .
svn path=/trunk/; revision=20955
Tor Lillqvist [Sun, 3 Aug 2008 23:09:28 +0000 (23:09 +0000)]
Don't bother with the test "if gio can sniff png" if $gio_can_sniff has
2008-08-04 Tor Lillqvist <tml@novell.com>
* configure.in: Don't bother with the test "if gio can sniff png"
if $gio_can_sniff has been already set. Preset it to "no" for
Win32. This helps cross-compilation from 32-bit Windows to
64-bit. No idea how this should be handled for cross-compilation
in general.
svn path=/trunk/; revision=20954
Tor Lillqvist [Sun, 3 Aug 2008 23:05:37 +0000 (23:05 +0000)]
Don't bother looking up EnumDisplayMonitors and GetMonitorInfoA
2008-08-04 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkdisplay-win32.c: Don't bother looking up
EnumDisplayMonitors and GetMonitorInfoA dynamically, they are
present in NT-based Windows since Windows 2000.
(enum_monitor): For some reason the MONITORINFOEX struct in
mingw-win64 is different than the proper one as in MSDN and 32-bit
mingw, so just copy the proper definition here.
svn path=/trunk/; revision=20953
Björn Lindqvist [Sun, 3 Aug 2008 19:38:21 +0000 (19:38 +0000)]
Bug 540379 – gtk_tree_view_enable_model_drag_dest and
2008-08-03 Björn Lindqvist <bjourne@gmail.com>
Bug 540379 – gtk_tree_view_enable_model_drag_dest and
gtk_tree_view_enable_model_drag_source unsets reorderable property
* gtk/gtktreeview.c: Improve docstrings regarding reorderable
property.
svn path=/trunk/; revision=20952
Matthias Clasen [Sun, 3 Aug 2008 19:28:05 +0000 (19:28 +0000)]
Support GEmblemedIcon
svn path=/trunk/; revision=20951
Matthias Clasen [Sun, 3 Aug 2008 19:25:00 +0000 (19:25 +0000)]
Add translator comment
svn path=/trunk/; revision=20950
Ignacio Casal Quinteiro [Sun, 3 Aug 2008 18:36:36 +0000 (18:36 +0000)]
Updated Galician translation
svn path=/trunk/; revision=20949
Ignacio Casal Quinteiro [Sun, 3 Aug 2008 18:32:40 +0000 (18:32 +0000)]
Updated Galician translation
svn path=/trunk/; revision=20948
Jorge Gonzalez Gonzalez [Sun, 3 Aug 2008 18:11:01 +0000 (18:11 +0000)]
Updated Spanish translation
svn path=/trunk/; revision=20947